home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 5_programming / on / kill < prev    next >
Encoding:
Text File  |  2001-03-21  |  517 b   |  23 lines

  1. Synopsis:
  2.    on [<modes>]kill [<serial#>] [-|^]<match> { <action> }
  3.  
  4. Description:
  5.    This hook is triggered whenever someone is kill(3)ed by an oper.
  6.  
  7. Parameters:
  8.    $0    server who sent the message (your server)
  9.    $1    the victim being killed
  10.    $2    the oper who issued the kill
  11.    $3    server path to the oper
  12.    $4-   reason for the kill
  13.  
  14. Examples:
  15.    To display kills in a more sane manner:
  16.       on ^kill "*" {
  17.         echo $banner $1 was killed by $2: ($4-)
  18.       }
  19.  
  20. See Also:
  21.    kill(3)
  22.  
  23.